﻿using GC_FFW.BusinessEntities.Abstractions.Interfaces.Forecast;

namespace GC_FFW.BusinessEntities.Forecast
{
	public class Goal : IGoal
	{
		#region IGoal Members

		public string Goalscorer { get; set; }

		public int Time { get; set; }

		public bool IsHomeTeamGoal { get; set; }

		#endregion

		#region ICloneable Members

		public object Clone()
		{
			return new Goal
			{
				Goalscorer = Goalscorer != null ? Goalscorer.Clone() as string : null,
				IsHomeTeamGoal = IsHomeTeamGoal,
				Time = Time
			};
		}

		#endregion
	}
}
